﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HydroAnalyzer
{
    public partial class frmCreateNewCube : Form
    {
        public frmCreateNewCube()
        {
            InitializeComponent();
        }

        private void frmCreateNewCube_Load(object sender, EventArgs e)
        {
            label1.Text = "Create New HydroCube";
            Point position = new Point();
            position.X = (panel1.Width / 2)-(label1.Width/2);
            position.Y = (panel1.Height / 2)-(label1.Height/2);
            label1.Location = position;

            StringBuilder str=new StringBuilder();
            str.Append("HydroCube Wizard can make you understand the raw hydrologic data better!\r\n");
            str.Append("\r\n");
            str.Append("Also help you input data, set query fields, create fact and dimensions.");
            label2.Text=str.ToString();
            position.X = (panel2.Width / 2) - (label2.Width / 2);
            position.Y = (panel2.Height / 2) - (label2.Height / 2);
            label2.Location = position;
        }

        private void butNext_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            
        }

        private void butCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }
    }
}
